//
//  Common.swift
//  HMSlender
//
//  Created by 赵少朋赵少朋 on 17/1/17.
//  Copyright © 2017年 ITheima. All rights reserved.
//

import UIKit

/*
 App Key：277475288
 App Secret：5165313d5083a4f2a629ac9ad82a5162
 */

func randomeColor() -> UIColor {
   
    let r = Float(arc4random_uniform(256))
    let g = Float(arc4random_uniform(256))
    let b = Float(arc4random_uniform(256))

    return UIColor(colorLiteralRed: r / Float(255.0), green: g / Float(255.0), blue: b / Float(255.0), alpha: 1)
    
}

let SCREENWIDTH = UIScreen.main.bounds.width
let SCREENHEIGHT = UIScreen.main.bounds.height
//字体主题颜色
let themeColor = UIColor.orange

let bigTextFont:CGFloat = 18
let smallTextFont:CGFloat = 10
let midTextFont:CGFloat = 14

// 新浪微博需要的信息
let APPKEY = "277475288"
let APPSECRET = "5165313d5083a4f2a629ac9ad82a5162"
let REDIRECT_URI = "http://www.baidu.com"
let HMWEIBONAME = "13473271275"
let HMWBPASSWD = "321.dbq"

//通知名字
let SETROOTVIEW = "setRootViewCt"
